package com.xxx.blog.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author WangXJ
 * @since 2021-09-14
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class Orders implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 这是订单的id
     */
      @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 这是商品的id
     */
    @TableField("pId")
    private Integer pid;

    /**
     * 这是商品的件数
     */
    @TableField("pSum")
    private Integer psum;

    /**
     * 这是送货地址
     */
    private String location;

    /**
     * 这是订单生成的时间
     */
    @TableField(value = "createDate")
    private String createdate;


}
